import requests
resp=requests.get(url='http://hmshop-test.itheima.net/Home/Goods/search.html?q=iphone')
print(resp.text)